<template>
  <div>
    <h2>我是父组件</h2>
    <div>金钱：{{ money }}</div>
    <div>车辆：{{ car }}</div>
    <hr />
    <Son :money="money" :car="car"></Son>
  </div>
</template>

<script setup>
import Son from "./Son.vue";
import { ref } from "vue";

const money = ref(100);
const car = ref("玛莎拉蒂");
</script>

<style lang="scss" scoped>
</style>